<template>
     <pclogin v-if="store.isPc==1"></pclogin>
    <mobilelogin v-if="store.isPc==2"></mobilelogin>
</template>

<script setup>
 import { ref, computed, onMounted, onBeforeUnmount  } from "vue";
import  mobilelogin from "@/components/mobileComponent/login/mobilelogin.vue"
import  pclogin from "@/components/mobileComponent/login/pclogin.vue"
import { useStore } from "@/store/index";
const store = useStore();
const route = useRoute();
onMounted(() => {
    const element = document.getElementById("app");
    element.scrollTop = 0;
});

</script>
<style lang="scss" scoped></style>